<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>商品列表</title>
  <link href="/static/home/AmazeUI-2.4.2/assets/css/amazeui.css" rel="stylesheet" type="text/css" /> 
  <link href="/static/home/AmazeUI-2.4.2/assets/css/admin.css" rel="stylesheet" type="text/css" /> 
  <link href="/static/home/basic/css/demo.css" rel="stylesheet" type="text/css" /> 
  <link href="/static/home/css/hmstyle.css" rel="stylesheet" type="text/css" /> 
  <link href="/static/home/css/skin.css" rel="stylesheet" type="text/css" />
  <script src="/static/home/AmazeUI-2.4.2/assets/js/amazeui.min.js"></script>
    <!-- 最新 Bootstrap 核心 CSS 文件 -->
  <link rel="stylesheet" href="http://cdn.bootcss.com/twitter-bootstrap/3.0.3/css/bootstrap.min.css">
  <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
  <script src="http://cdn.bootcss.com/twitter-bootstrap/3.0.3/js/bootstrap.min.js"></script>
</head>
<body>
  {:widget("Cate/header")}
<br>
<h3> <small><a href="/home/index">首页</a> > 商品列表 > {$name}</small></h3><br>
<div><br>
<div id="f1"> 
<!--商品列表-->
     <div class="am-container "> 
      <div class="shopTitle "> 
       <h4>商 品 列 表</h4> 
      </div> 
     </div>

     <div class="am-g am-g-fixed floodFour">
{if condition="!empty($goods)"} 
<!-- 遍历商品 -->
 {foreach name="goods" item="goods"}  
      <div class="am-u-sm-3 am-u-md-2 text-three big" style="border:1px solid #EEEEEE;float:left;"> 
       <div class="outer-con "> 
        <div class="title " style="font-size:20px;">
          {$goods['name']} 
        </div><br> 
        <div class="sub-title " style="font-size:15px;color:#E71939;">
          &yen; {$goods['price']}.00 
        </div> 
        <a href="/goodsinfo/index/id/{$goods['id']}"><i class="am-icon-shopping-basket am-icon-md  seprate"></i></a>  
       </div> 
       <a href="/goodsinfo/index/id/{$goods['id']}"><img src="/uploads/{$goods['pic']}" style="width:196px;height:196px;"/></a> 
      </div> 
  {/foreach}
{else}
<div><p class="text-center" style="font-size:25px;line-height:220px;">无 法 搜 索 到 您 要 找 的 商 品！</p></div>
{/if}   
     </div>  
     <div class="clear "></div> 
    </div>
  {:widget("Cate/footer")}
</body>
</html>